import React from "react";
import "./index.less";

interface IStepItemProps{
  children?: any,
  current?: number,
  title: string
}
interface IStepProps{
    children?: any,
    current?: number
}

class StepItem extends React.Component<IStepItemProps>{
 render(){
   return (
     <div className={"yf-step-item"}>
       {this.props.children}
     </div>
   )
 }

}

export class YStep extends React.Component<IStepProps>{
  

  render() {
    const current = this.state.current;

    return (
      
    )
  }

}


